<html>
<head>
<link type="text/css" rel="stylesheet" href="style.css" />
<script type="text/javascript">
function getliste() {
	var asso = document.getElementById("asso");
	var ad = asso.value;
	var url= "data2csv.aspx?nom=AD" + ad + ".csv&sql=exec listage_de_reference '" +ad + "'";
	//alert(url);
	window.location=url;
}
</script>
</head>
<body>
<label>Numero de l'AD: </label><input type="text" id="asso"/>
<input type="button" value="LISTAGE" OnClick="getliste()" />
</body>